home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0195.lzh / AMOSLIST / text0136.txt < prev    next >
Encoding:
Text File  |  1995-02-01  |  3.7 KB  |  120 lines

  1. On Fri, 13 Jan 1995, Paul Reece wrote:
  2.  
  3. > Hi Mike,
  4. > > 
  5. > > 
  6. > >     Okay my brain is starting to bleed because I can't make up my 
  7. > > mind on a consistent interface for MARP so I thought I would ask what
  8. > > you blokes thought would be best....
  9. > > 
  10. > Mind if I be dense and as, WHAT IS MARP??
  11. >
  12.  
  13.     MARP is a library of C functions that you can link your C programs
  14.   to... why?  So that you can use the power of C with what I think is the
  15.   power of Amos (easy and powerful gfx/snd... basically you don't have to
  16.   go through the RKM's... and figure out all the Amiga specifics)
  17.  
  18.     MARP will come with multiple libraries... 
  19.     
  20.         1.  The 'in-development' library.. this will be slow
  21.             but safe.. so if you screw up something you will
  22.             get a Requester explaining the error and no GURU.
  23.  
  24.         2.  This will be the heh my code works library.. it will
  25.             be faster than #1 because it won't do any error
  26.                     checking... so you could be making an appointment
  27.             with the guru...
  28.  
  29.         3.  This will be the library with just about every command
  30.                     a macro for super speed at the expense of some code
  31.                     size because you will be 'inlining' a lot of stuff... 
  32.  
  33.     MARP has Amigaguide help system much like that of SAS/C.. Oh ya if
  34.    you didn't figure out already you will need a C compilier and understand
  35.    C.  But MARP has 2 layers:
  36.  
  37.         1. ToolKit Commands
  38.  
  39.            o These are basically how Amos works now... Very easy..
  40.              Bascially no pointers... example:
  41.  
  42.                 M_Pixel x,y;
  43.  
  44.                 M_LoadIconBank(0,"icons.abk");
  45.  
  46.                 M_PasteIcon(0,10,x,y);
  47.  
  48.         2. Developer Commands
  49.  
  50.            o These are mainly for developers that want to eXtend
  51.              MARP by writing eXtensions... this give you access
  52.                      to the guts of MARP... example:
  53.  
  54.             M_Pixel    x,y;
  55.             M_IconBank ibank; 
  56.  
  57.             Mx_LoadIconBank(&ibank,"myicons",0);
  58.  
  59.             Mx_PasteIcon(&ibank,10,x,y,M_BLIT_NORMAL);
  60.  
  61.            o Now if someone wanted to write an eXtension they
  62.              could do it better because the programmers model
  63.              of MARP would never have to change.. ie. they
  64.                      would never have to sacrifice a slot in a bank.
  65.         
  66.            o Also commands are provided to inteface between the
  67.              two... so if the programmer wanted to explicity
  68.              tell an extension to use a certain bank they could. 
  69.  
  70.     These 2 layers would help people who aren't comfortable with using
  71.    pointers convert from Amos->C easier if they wanted too... plus even
  72.    if you pointers don't bug you it will just be easier and safer to use
  73.     the toolkit routines most of the time... :)
  74.  
  75.  
  76.     MARP Curently supports:
  77.  
  78.         o Screens     (includes Double Buff/Public Screens)
  79.         o General Gfx (ie. lines/boxes/circles/...)
  80.         o Requesters  ( font/screen/palette/file/custom)
  81.         o Icons       (much more complete than Amos)
  82.         o Files       (ie. Size/Exists/IsDir/... )
  83.         o Input       (mouse/joystick/analouge joy)
  84.         o Copper      (ie. Rainbow..)
  85.         o Samples     (not fully done)
  86.         o Med Mods
  87.         o Bobs          (not fully done)
  88.  
  89.     I will release MARP once I add:
  90.  
  91.         o IFF Picture Support
  92.         o IFF Anim Support
  93.         o Color/Anim Font (ala Ctext) 
  94.         o Easy User Interrupts
  95.         o Make up some Examples! 
  96.         
  97.  
  98.     Of course MARP will not be done with just this... but I feel that
  99.         it would be useful once I add this stuff... but I plan to work on
  100.         MARP till March'95. Then start using it!
  101.  
  102.     Oh ya... MARP is also being developed on the IBM right now! 
  103.  
  104.                     I hope this helps...
  105.  
  106.                                     mike
  107.  
  108. >  - P
  109. > Paul Reece, Technical Support - Trumpet Software International
  110. > p.reece@trumpet.com.au                    Phone: +61 02 450220
  111. >                                           Fax:   +61 02 450210
  112. > For Tech-Support: tech-support@trumpet.com.au
  113.  
  114.